﻿using System.ComponentModel;
using System.Text.Json.Serialization;

namespace DimensionsHelper.Common.Contracts.Excel;

[JsonConverter(typeof(JsonStringEnumConverter<ExcelHAlign>))]
public enum ExcelHAlign
{
    /// <summary>
    ///     常规
    /// </summary>
    [Description("常规")]
    General,

    /// <summary>
    ///     靠左（缩进）
    /// </summary>
    [Description("靠左（缩进）")]
    Left,

    /// <summary>
    ///     居中
    /// </summary>
    [Description("居中")]
    Center,

    /// <summary>
    ///     靠右（缩进）
    /// </summary>
    [Description("靠右（缩进）")]
    Right,

    /// <summary>
    ///     填充
    /// </summary>
    [Description("填充")]
    Fill,

    /// <summary>
    ///     分散对齐（缩进）
    /// </summary>
    [Description("分散对齐（缩进）")]
    Distributed,

    /// <summary>
    ///     两端对齐
    /// </summary>
    [Description("两端对齐")]
    Justify,

    /// <summary>
    ///     跨列居中
    /// </summary>
    [Description("跨列居中")]
    CenterContinuous
}